<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="custom-style.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
	<div style="overflow: hidden;">
		<div style="height: 57px;min-width: 1039px;background-size: auto 100%;background:url('');">
			<img src="titleleft.png" style="float: left;"/>
			<img src="titleright.png" alt="" style="float: right;" />
		</div>
	</div>
<!-- 制作者 Doxygen 1.8.15 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>法律声明</span></a></li>
      <li><a href="_xE9_xA6_x96_xE9_xA1_xB5.html"><span>首页</span></a></li>
      <li><a href="_xE6_x9B_xB4_xE6_x96_xB0_xE8_xAE_xB0_xE5_xBD_x95.html"><span>更新记录</span></a></li>
      <li><a href="_xE7_x8E_xAF_xE5_xA2_x83_xE9_x85_x8D_xE7_xBD_xAE.html"><span>环境配置</span></a></li>
      <li><a href="_xE7_xBC_x96_xE7_xA8_x8B_xE5_xBC_x95_xE5_xAF_xBC.html"><span>编程引导</span></a></li>
      <li class="current"><a href="modules.html"><span>接口说明</span></a></li>
      <li><a href="annotated.html"><span>结构体定义</span></a></li>
      <li><a href="_xE7_x9B_xB8_xE6_x9C_xBA_xE5_x8F_x82_xE6_x95_xB0_xE8_x8A_x82_xE7_x82_xB9_xE8_xA1_xA8.html"><span>相机参数节点表</span></a></li>
      <li><a href="examples.html"><span>示例程序</span></a></li>
      <li><a href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html"><span>状态码</span></a></li>
      <li><a href="_xE5_xB8_xB8_xE8_xA7_x81_xE9_x97_xAE_xE9_xA2_x98.html"><span>常见问题</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">函数</a>  </div>
  <div class="headertitle">
<div class="title">GigE相机</div>  </div>
</div><!--header-->
<div class="contents">

<p>仅GigE相机支持的接口  
<a href="#details">更多...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:ga9df4e6a7acbd6e6a6952e01949efc18b"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___gig_e_xE7_x9B_xB8_xE6_x9C_xBA.html#ga9df4e6a7acbd6e6a6952e01949efc18b">MV_CC_GetOptimalPacketSize</a> (IN void *handle)</td></tr>
<tr class="memdesc:ga9df4e6a7acbd6e6a6952e01949efc18b"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取最佳的packet size，该接口目前只支持GigE相机  <a href="#ga9df4e6a7acbd6e6a6952e01949efc18b">更多...</a><br /></td></tr>
<tr class="separator:ga9df4e6a7acbd6e6a6952e01949efc18b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6ea365fe36b695130c2fc4f6d5167939"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___gig_e_xE7_x9B_xB8_xE6_x9C_xBA.html#ga6ea365fe36b695130c2fc4f6d5167939">MV_GIGE_SetEnumDevTimeout</a> (IN unsigned int nMilTimeout)</td></tr>
<tr class="memdesc:ga6ea365fe36b695130c2fc4f6d5167939"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置枚举超时时间，仅支持GigE协议，范围 1-UINT_MAX（包括1，不包括UINT_MAX）  <a href="#ga6ea365fe36b695130c2fc4f6d5167939">更多...</a><br /></td></tr>
<tr class="separator:ga6ea365fe36b695130c2fc4f6d5167939"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga019f997779fa34774274305d4c9f4304"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___gig_e_xE7_x9B_xB8_xE6_x9C_xBA.html#ga019f997779fa34774274305d4c9f4304">MV_GIGE_ForceIpEx</a> (IN void *handle, IN unsigned int nIP, IN unsigned int nSubNetMask, IN unsigned int nDefaultGateWay)</td></tr>
<tr class="memdesc:ga019f997779fa34774274305d4c9f4304"><td class="mdescLeft">&#160;</td><td class="mdescRight">强制IP  <a href="#ga019f997779fa34774274305d4c9f4304">更多...</a><br /></td></tr>
<tr class="separator:ga019f997779fa34774274305d4c9f4304"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4fc5a7292438b36b7ec215508158b799"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___gig_e_xE7_x9B_xB8_xE6_x9C_xBA.html#ga4fc5a7292438b36b7ec215508158b799">MV_GIGE_SetIpConfig</a> (IN void *handle, IN unsigned int nType)</td></tr>
<tr class="memdesc:ga4fc5a7292438b36b7ec215508158b799"><td class="mdescLeft">&#160;</td><td class="mdescRight">配置IP方式  <a href="#ga4fc5a7292438b36b7ec215508158b799">更多...</a><br /></td></tr>
<tr class="separator:ga4fc5a7292438b36b7ec215508158b799"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab7b191512238292de7d4279b3cdf224e"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___gig_e_xE7_x9B_xB8_xE6_x9C_xBA.html#gab7b191512238292de7d4279b3cdf224e">MV_GIGE_SetNetTransMode</a> (IN void *handle, IN unsigned int nType)</td></tr>
<tr class="memdesc:gab7b191512238292de7d4279b3cdf224e"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置仅使用某种模式，type: MV_NET_TRANS_x，不设置时，默认优先使用driver  <a href="#gab7b191512238292de7d4279b3cdf224e">更多...</a><br /></td></tr>
<tr class="separator:gab7b191512238292de7d4279b3cdf224e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga95fbc062d66f54a2af61947f8f52e6b4"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___gig_e_xE7_x9B_xB8_xE6_x9C_xBA.html#ga95fbc062d66f54a2af61947f8f52e6b4">MV_GIGE_GetNetTransInfo</a> (IN void *handle, IN OUT <a class="el" href="struct_m_v___n_e_t_t_r_a_n_s___i_n_f_o.html">MV_NETTRANS_INFO</a> *pstInfo)</td></tr>
<tr class="memdesc:ga95fbc062d66f54a2af61947f8f52e6b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取网络传输信息  <a href="#ga95fbc062d66f54a2af61947f8f52e6b4">更多...</a><br /></td></tr>
<tr class="separator:ga95fbc062d66f54a2af61947f8f52e6b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0147554b37b23dfcb43f70b4437be397"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___gig_e_xE7_x9B_xB8_xE6_x9C_xBA.html#ga0147554b37b23dfcb43f70b4437be397">MV_GIGE_SetDiscoveryMode</a> (IN unsigned int nMode)</td></tr>
<tr class="memdesc:ga0147554b37b23dfcb43f70b4437be397"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置枚举命令的回复包类型  <a href="#ga0147554b37b23dfcb43f70b4437be397">更多...</a><br /></td></tr>
<tr class="separator:ga0147554b37b23dfcb43f70b4437be397"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga69b8685e90f7d51f37df94baf8f2de77"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___gig_e_xE7_x9B_xB8_xE6_x9C_xBA.html#ga69b8685e90f7d51f37df94baf8f2de77">MV_GIGE_SetGvspTimeout</a> (IN void *handle, IN unsigned int nMillisec)</td></tr>
<tr class="memdesc:ga69b8685e90f7d51f37df94baf8f2de77"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置GVSP取流超时时间  <a href="#ga69b8685e90f7d51f37df94baf8f2de77">更多...</a><br /></td></tr>
<tr class="separator:ga69b8685e90f7d51f37df94baf8f2de77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1312cc66c9d4a89cc1911c32a65ecb6b"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___gig_e_xE7_x9B_xB8_xE6_x9C_xBA.html#ga1312cc66c9d4a89cc1911c32a65ecb6b">MV_GIGE_GetGvspTimeout</a> (IN void *handle, IN OUT unsigned int *pnMillisec)</td></tr>
<tr class="memdesc:ga1312cc66c9d4a89cc1911c32a65ecb6b"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取GVSP取流超时时间  <a href="#ga1312cc66c9d4a89cc1911c32a65ecb6b">更多...</a><br /></td></tr>
<tr class="separator:ga1312cc66c9d4a89cc1911c32a65ecb6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacc3fea463e94f87d65654e1715e24659"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___gig_e_xE7_x9B_xB8_xE6_x9C_xBA.html#gacc3fea463e94f87d65654e1715e24659">MV_GIGE_SetGvcpTimeout</a> (IN void *handle, IN unsigned int nMillisec)</td></tr>
<tr class="memdesc:gacc3fea463e94f87d65654e1715e24659"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置GVCP命令超时时间  <a href="#gacc3fea463e94f87d65654e1715e24659">更多...</a><br /></td></tr>
<tr class="separator:gacc3fea463e94f87d65654e1715e24659"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga845e4f09d81a00e292b59d6ec0f591ce"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___gig_e_xE7_x9B_xB8_xE6_x9C_xBA.html#ga845e4f09d81a00e292b59d6ec0f591ce">MV_GIGE_GetGvcpTimeout</a> (IN void *handle, IN OUT unsigned int *pnMillisec)</td></tr>
<tr class="memdesc:ga845e4f09d81a00e292b59d6ec0f591ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取GVCP命令超时时间  <a href="#ga845e4f09d81a00e292b59d6ec0f591ce">更多...</a><br /></td></tr>
<tr class="separator:ga845e4f09d81a00e292b59d6ec0f591ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac83f55a145fbb0c84587948cc22e04e1"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___gig_e_xE7_x9B_xB8_xE6_x9C_xBA.html#gac83f55a145fbb0c84587948cc22e04e1">MV_GIGE_SetRetryGvcpTimes</a> (IN void *handle, IN unsigned int nRetryGvcpTimes)</td></tr>
<tr class="memdesc:gac83f55a145fbb0c84587948cc22e04e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置重传GVCP命令次数  <a href="#gac83f55a145fbb0c84587948cc22e04e1">更多...</a><br /></td></tr>
<tr class="separator:gac83f55a145fbb0c84587948cc22e04e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5a09d661574c303086cbb9b383bca9d1"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___gig_e_xE7_x9B_xB8_xE6_x9C_xBA.html#ga5a09d661574c303086cbb9b383bca9d1">MV_GIGE_GetRetryGvcpTimes</a> (IN void *handle, IN OUT unsigned int *pnRetryGvcpTimes)</td></tr>
<tr class="memdesc:ga5a09d661574c303086cbb9b383bca9d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取重传GVCP命令次数  <a href="#ga5a09d661574c303086cbb9b383bca9d1">更多...</a><br /></td></tr>
<tr class="separator:ga5a09d661574c303086cbb9b383bca9d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga873f0f4cc77d6af62f2827c25881e342"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___gig_e_xE7_x9B_xB8_xE6_x9C_xBA.html#ga873f0f4cc77d6af62f2827c25881e342">MV_GIGE_SetResend</a> (IN void *handle, IN unsigned int bEnable, IN unsigned int nMaxResendPercent, IN unsigned int nResendTimeout)</td></tr>
<tr class="memdesc:ga873f0f4cc77d6af62f2827c25881e342"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置是否打开重发包支持，及重发包设置  <a href="#ga873f0f4cc77d6af62f2827c25881e342">更多...</a><br /></td></tr>
<tr class="separator:ga873f0f4cc77d6af62f2827c25881e342"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafc670e406bced45f4949acb6dfcfac05"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___gig_e_xE7_x9B_xB8_xE6_x9C_xBA.html#gafc670e406bced45f4949acb6dfcfac05">MV_GIGE_SetResendMaxRetryTimes</a> (IN void *handle, IN unsigned int nRetryTimes)</td></tr>
<tr class="memdesc:gafc670e406bced45f4949acb6dfcfac05"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置重传命令最大尝试次数  <a href="#gafc670e406bced45f4949acb6dfcfac05">更多...</a><br /></td></tr>
<tr class="separator:gafc670e406bced45f4949acb6dfcfac05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae6acca364fd796744aa3e6f1fa1f6610"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___gig_e_xE7_x9B_xB8_xE6_x9C_xBA.html#gae6acca364fd796744aa3e6f1fa1f6610">MV_GIGE_GetResendMaxRetryTimes</a> (IN void *handle, IN OUT unsigned int *pnRetryTimes)</td></tr>
<tr class="memdesc:gae6acca364fd796744aa3e6f1fa1f6610"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取重传命令最大尝试次数  <a href="#gae6acca364fd796744aa3e6f1fa1f6610">更多...</a><br /></td></tr>
<tr class="separator:gae6acca364fd796744aa3e6f1fa1f6610"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga63ecd65b9648f3723547584ad19096ea"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___gig_e_xE7_x9B_xB8_xE6_x9C_xBA.html#ga63ecd65b9648f3723547584ad19096ea">MV_GIGE_SetResendTimeInterval</a> (IN void *handle, IN unsigned int nMillisec)</td></tr>
<tr class="memdesc:ga63ecd65b9648f3723547584ad19096ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置同一重传包多次请求之间的时间间隔  <a href="#ga63ecd65b9648f3723547584ad19096ea">更多...</a><br /></td></tr>
<tr class="separator:ga63ecd65b9648f3723547584ad19096ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9dfe942828c8ea835a5e84086dc69d7b"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___gig_e_xE7_x9B_xB8_xE6_x9C_xBA.html#ga9dfe942828c8ea835a5e84086dc69d7b">MV_GIGE_GetResendTimeInterval</a> (IN void *handle, IN OUT unsigned int *pnMillisec)</td></tr>
<tr class="memdesc:ga9dfe942828c8ea835a5e84086dc69d7b"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取同一重传包多次请求之间的时间间隔  <a href="#ga9dfe942828c8ea835a5e84086dc69d7b">更多...</a><br /></td></tr>
<tr class="separator:ga9dfe942828c8ea835a5e84086dc69d7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4a46947998f4ecb94d04afb699f74fe0"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___gig_e_xE7_x9B_xB8_xE6_x9C_xBA.html#ga4a46947998f4ecb94d04afb699f74fe0">MV_GIGE_SetTransmissionType</a> (IN void *handle, IN <a class="el" href="struct_m_v___t_r_a_n_s_m_i_s_s_i_o_n___t_y_p_e.html">MV_TRANSMISSION_TYPE</a> *pstTransmissionType)</td></tr>
<tr class="memdesc:ga4a46947998f4ecb94d04afb699f74fe0"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置传输模式，可以为单播模式、组播模式等  <a href="#ga4a46947998f4ecb94d04afb699f74fe0">更多...</a><br /></td></tr>
<tr class="separator:ga4a46947998f4ecb94d04afb699f74fe0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6dd4eca90cd69d3d442d71563c5ef300"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___gig_e_xE7_x9B_xB8_xE6_x9C_xBA.html#ga6dd4eca90cd69d3d442d71563c5ef300">MV_GIGE_IssueActionCommand</a> (IN <a class="el" href="struct_m_v___a_c_t_i_o_n___c_m_d___i_n_f_o.html">MV_ACTION_CMD_INFO</a> *pstActionCmdInfo, IN OUT <a class="el" href="struct_m_v___a_c_t_i_o_n___c_m_d___r_e_s_u_l_t___l_i_s_t.html">MV_ACTION_CMD_RESULT_LIST</a> *pstActionCmdResults)</td></tr>
<tr class="memdesc:ga6dd4eca90cd69d3d442d71563c5ef300"><td class="mdescLeft">&#160;</td><td class="mdescRight">发出动作命令  <a href="#ga6dd4eca90cd69d3d442d71563c5ef300">更多...</a><br /></td></tr>
<tr class="separator:ga6dd4eca90cd69d3d442d71563c5ef300"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9509c97062ec3129f81f73dc1a8d80bb"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___gig_e_xE7_x9B_xB8_xE6_x9C_xBA.html#ga9509c97062ec3129f81f73dc1a8d80bb">MV_GIGE_GetMulticastStatus</a> (IN <a class="el" href="struct_m_v___c_c___d_e_v_i_c_e___i_n_f_o.html">MV_CC_DEVICE_INFO</a> *pstDevInfo, IN OUT bool *pbStatus)</td></tr>
<tr class="memdesc:ga9509c97062ec3129f81f73dc1a8d80bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取组播状态  <a href="#ga9509c97062ec3129f81f73dc1a8d80bb">更多...</a><br /></td></tr>
<tr class="separator:ga9509c97062ec3129f81f73dc1a8d80bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<p>仅GigE相机支持的接口 </p>
<h2 class="groupheader">函数说明</h2>
<a id="ga9df4e6a7acbd6e6a6952e01949efc18b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9df4e6a7acbd6e6a6952e01949efc18b">&#9670;&nbsp;</a></span>MV_CC_GetOptimalPacketSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_CC_GetOptimalPacketSize </td>
          <td>(</td>
          <td class="paramtype">IN void *&#160;</td>
          <td class="paramname"><em>handle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取最佳的packet size，该接口目前只支持GigE相机 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>[IN] 设备句柄 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>最佳packetsize </dd></dl>
<dl class="section note"><dt>注解</dt><dd><b>&#160;&bull;&#160;</b>获取最佳的packet size，对应GigEVision设备是SCPS，对应U3V设备是每次从驱动读取的包大小，该大小即网络上传输一个包的大小。<br />
 <b>&#160;&bull;&#160;</b>该接口需要在 <a class="el" href="group___xE7_x9B_xB8_xE6_x9C_xBA_xE5_x88_x9D_xE5_xA7_x8B_xE5_x8C_x96.html#ga308c9a9869be7a457d27aadd94ce57dd" title="打开设备">MV_CC_OpenDevice()</a> 之后、 <a class="el" href="group___xE5_x9B_xBE_xE5_x83_x8F_xE9_x87_x87_xE9_x9B_x86.html#ga78728211c47c6f118110fde635d6ac69" title="开始取流">MV_CC_StartGrabbing()</a> 之前调用。<br />
 <b>&#160;&bull;&#160;</b>该接口不支持CameraLink设备、U3V设备。<br />
 <b>&#160;&bull;&#160;</b>该接口不支持GenTL设备（协议不支持），如果是GenTL方式添加的网口相机，建议根据网络实际情况配置GevSCPSPacketSize，或者配置1500。 </dd></dl>
<dl class="section examples"><dt>示例</dt><dd><a class="el" href="_chunk_data_8cpp-example.html#a37">ChunkData.cpp</a>, <a class="el" href="_connect_spec_camera_8cpp-example.html#a16">ConnectSpecCamera.cpp</a>, <a class="el" href="_display_8cpp-example.html#a36">Display.cpp</a>, <a class="el" href="_events_8cpp-example.html#a26">Events.cpp</a>, <a class="el" href="_grab__asynchronous_8cpp-example.html#a27">Grab_Asynchronous.cpp</a>, <a class="el" href="_grab__image_callback_8cpp-example.html#a23">Grab_ImageCallback.cpp</a>, <a class="el" href="_grab_image_8cpp-example.html#a27">GrabImage.cpp</a>, <a class="el" href="_grab_image__high_performance_8cpp-example.html#a27">GrabImage_HighPerformance.cpp</a>, <a class="el" href="_grab_multiple_camera_8cpp-example.html#a30">GrabMultipleCamera.cpp</a>, <a class="el" href="_high_bandwith_decode_8cpp-example.html#a56">HighBandwithDecode.cpp</a>, <a class="el" href="_image_process_8cpp-example.html#a19">ImageProcess.cpp</a>, <a class="el" href="_interface_and_device_demo_8cpp-example.html#a43">InterfaceAndDeviceDemo.cpp</a>, <a class="el" href="_multi_cast_8cpp-example.html#a26">MultiCast.cpp</a>, <a class="el" href="_reconnect_demo_8cpp-example.html#a31">ReconnectDemo.cpp</a>, <a class="el" href="_trigger__image_8cpp-example.html#a28">Trigger_Image.cpp</a> , 以及 <a class="el" href="_trigger__image_callback_8cpp-example.html#a24">Trigger_ImageCallback.cpp</a>.</dd>
</dl>

</div>
</div>
<a id="ga6ea365fe36b695130c2fc4f6d5167939"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6ea365fe36b695130c2fc4f6d5167939">&#9670;&nbsp;</a></span>MV_GIGE_SetEnumDevTimeout()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_GIGE_SetEnumDevTimeout </td>
          <td>(</td>
          <td class="paramtype">IN unsigned int&#160;</td>
          <td class="paramname"><em>nMilTimeout</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置枚举超时时间，仅支持GigE协议，范围 1-UINT_MAX（包括1，不包括UINT_MAX） </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">nMilTimeout</td><td>[IN] 超时时间，默认100ms </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd><b>&#160;&bull;&#160;</b>在调用 <a class="el" href="group___xE7_x9B_xB8_xE6_x9C_xBA_xE5_x88_x9D_xE5_xA7_x8B_xE5_x8C_x96.html#ga88741869e2b3c12e47025e53e6a7b58b" title="枚举设备，支持枚举对应采集卡上的相机">MV_CC_EnumDevices()</a> 等枚举接口前使用该接口，可设置枚举GIGE设备的网卡最大超时时间（默认100ms），可以减少最大超时时间，以加快枚举GIGE设备的速度。<br />
 <b>&#160;&bull;&#160;</b>该接口仅支持输入无符号整数。 </dd></dl>

</div>
</div>
<a id="ga019f997779fa34774274305d4c9f4304"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga019f997779fa34774274305d4c9f4304">&#9670;&nbsp;</a></span>MV_GIGE_ForceIpEx()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_GIGE_ForceIpEx </td>
          <td>(</td>
          <td class="paramtype">IN void *&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN unsigned int&#160;</td>
          <td class="paramname"><em>nIP</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN unsigned int&#160;</td>
          <td class="paramname"><em>nSubNetMask</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN unsigned int&#160;</td>
          <td class="paramname"><em>nDefaultGateWay</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>强制IP </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>[IN] 设备句柄 </td></tr>
    <tr><td class="paramname">nIP</td><td>[IN] 设置的IP </td></tr>
    <tr><td class="paramname">nSubNetMask</td><td>[IN] 子网掩码 </td></tr>
    <tr><td class="paramname">nDefaultGateWay</td><td>[IN] 默认网关 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd><b>&#160;&bull;&#160;</b>强制设置设备网络参数（包括IP、子网掩码、默认网关），强制设置之后将需要重新创建设备句柄，仅GigEVision设备支持。<br />
 <b>&#160;&bull;&#160;</b>如果设备为DHCP的状态，调用该接口强制设置设备网络参数之后设备将会重启。 </dd></dl>
<dl class="section examples"><dt>示例</dt><dd><a class="el" href="_force_i_p_8cpp-example.html#a22">ForceIP.cpp</a> , 以及 <a class="el" href="_force_i_p_ex_8cpp-example.html#a23">ForceIPEx.cpp</a>.</dd>
</dl>

</div>
</div>
<a id="ga4fc5a7292438b36b7ec215508158b799"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4fc5a7292438b36b7ec215508158b799">&#9670;&nbsp;</a></span>MV_GIGE_SetIpConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_GIGE_SetIpConfig </td>
          <td>(</td>
          <td class="paramtype">IN void *&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN unsigned int&#160;</td>
          <td class="paramname"><em>nType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>配置IP方式 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>[IN] 设备句柄 </td></tr>
    <tr><td class="paramname">nType</td><td>[IN] IP类型，见 MV_IP_CFG_x <table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadCenter">宏定义  </th><th class="markdownTableHeadCenter">宏定义值  </th><th class="markdownTableHeadCenter">含义   </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyCenter"><a class="el" href="group___xE5_xAE_x8F_xE5_xAE_x9A_xE4_xB9_x89.html#ga3f769aa8872c6fd1c1147e7460745c63">MV_IP_CFG_STATIC</a>  </td><td class="markdownTableBodyCenter">0x05000000  </td><td class="markdownTableBodyCenter">固定IP地址模式   </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyCenter"><a class="el" href="group___xE5_xAE_x8F_xE5_xAE_x9A_xE4_xB9_x89.html#ga66d84d7ca1d1f28e1c5f2b4d603fb6cb">MV_IP_CFG_DHCP</a>  </td><td class="markdownTableBodyCenter">0x06000000  </td><td class="markdownTableBodyCenter">DHCP自动获取IP模式   </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyCenter"><a class="el" href="group___xE5_xAE_x8F_xE5_xAE_x9A_xE4_xB9_x89.html#ga13e700a74d4563311697c14fe082c30b">MV_IP_CFG_LLA</a>  </td><td class="markdownTableBodyCenter">0x04000000  </td><td class="markdownTableBodyCenter">LLA(Link-local address)，链路本地地址   </td></tr>
</table>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>发送命令设置设备的IP方式，如DHCP、LLA等，仅GigEVision设备支持。 </dd></dl>
<dl class="section examples"><dt>示例</dt><dd><a class="el" href="_force_i_p_8cpp-example.html#a20">ForceIP.cpp</a> , 以及 <a class="el" href="_force_i_p_ex_8cpp-example.html#a21">ForceIPEx.cpp</a>.</dd>
</dl>

</div>
</div>
<a id="gab7b191512238292de7d4279b3cdf224e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab7b191512238292de7d4279b3cdf224e">&#9670;&nbsp;</a></span>MV_GIGE_SetNetTransMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_GIGE_SetNetTransMode </td>
          <td>(</td>
          <td class="paramtype">IN void *&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN unsigned int&#160;</td>
          <td class="paramname"><em>nType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置仅使用某种模式，type: MV_NET_TRANS_x，不设置时，默认优先使用driver </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>[IN] 设备句柄 </td></tr>
    <tr><td class="paramname">nType</td><td>[IN] 网络传输模式，见MV_NET_TRANS_x <table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadCenter">宏定义  </th><th class="markdownTableHeadCenter">宏定义值  </th><th class="markdownTableHeadCenter">含义   </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyCenter"><a class="el" href="group___xE5_xAE_x8F_xE5_xAE_x9A_xE4_xB9_x89.html#ga77405913b4495ec8d1724dc4b3152d3a">MV_NET_TRANS_DRIVER</a>  </td><td class="markdownTableBodyCenter">0x00000001  </td><td class="markdownTableBodyCenter">驱动模式   </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyCenter"><a class="el" href="group___xE5_xAE_x8F_xE5_xAE_x9A_xE4_xB9_x89.html#ga45bbaff976117b0b1e9ddc3cebdf05db">MV_NET_TRANS_SOCKET</a>  </td><td class="markdownTableBodyCenter">0x00000002  </td><td class="markdownTableBodyCenter">Socket模式   </td></tr>
</table>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>通过该接口可以设置SDK内部优先使用的网络模式，默认优先使用驱动模式，仅GigEVision设备支持。 </dd></dl>

</div>
</div>
<a id="ga95fbc062d66f54a2af61947f8f52e6b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga95fbc062d66f54a2af61947f8f52e6b4">&#9670;&nbsp;</a></span>MV_GIGE_GetNetTransInfo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_GIGE_GetNetTransInfo </td>
          <td>(</td>
          <td class="paramtype">IN void *&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN OUT <a class="el" href="struct_m_v___n_e_t_t_r_a_n_s___i_n_f_o.html">MV_NETTRANS_INFO</a> *&#160;</td>
          <td class="paramname"><em>pstInfo</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取网络传输信息 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>[IN] 设备句柄 </td></tr>
    <tr><td class="paramname">pstInfo</td><td>[IN][OUT] 信息结构体 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>通过该接口可以获取网络传输相关信息，包括已接收数据大小、丢帧数量等，在 <a class="el" href="group___xE5_x9B_xBE_xE5_x83_x8F_xE9_x87_x87_xE9_x9B_x86.html#ga78728211c47c6f118110fde635d6ac69" title="开始取流">MV_CC_StartGrabbing()</a> 开启采集之后调用。仅GigEVision相机支持。 </dd></dl>

</div>
</div>
<a id="ga0147554b37b23dfcb43f70b4437be397"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0147554b37b23dfcb43f70b4437be397">&#9670;&nbsp;</a></span>MV_GIGE_SetDiscoveryMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_GIGE_SetDiscoveryMode </td>
          <td>(</td>
          <td class="paramtype">IN unsigned int&#160;</td>
          <td class="paramname"><em>nMode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置枚举命令的回复包类型 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">nMode</td><td>[IN] 回复包类型（默认广播），0-单播，1-广播 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>该接口只对GigE相机有效。 </dd></dl>

</div>
</div>
<a id="ga69b8685e90f7d51f37df94baf8f2de77"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga69b8685e90f7d51f37df94baf8f2de77">&#9670;&nbsp;</a></span>MV_GIGE_SetGvspTimeout()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_GIGE_SetGvspTimeout </td>
          <td>(</td>
          <td class="paramtype">IN void *&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN unsigned int&#160;</td>
          <td class="paramname"><em>nMillisec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置GVSP取流超时时间 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>[IN] 设备句柄 </td></tr>
    <tr><td class="paramname">nMillisec</td><td>[IN] 超时时间，默认300ms，范围：&gt;10ms</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>连接设备之后，取流动作发生前，调用该接口可以设置GVSP取流超时时间。GVSP取流超时设置过短可能造成图像异常，设置过长可能造成取流时间变长。 </dd></dl>

</div>
</div>
<a id="ga1312cc66c9d4a89cc1911c32a65ecb6b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1312cc66c9d4a89cc1911c32a65ecb6b">&#9670;&nbsp;</a></span>MV_GIGE_GetGvspTimeout()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_GIGE_GetGvspTimeout </td>
          <td>(</td>
          <td class="paramtype">IN void *&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN OUT unsigned int *&#160;</td>
          <td class="paramname"><em>pnMillisec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取GVSP取流超时时间 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>[IN] 设备句柄 </td></tr>
    <tr><td class="paramname">pnMillisec</td><td>[IN][OUT] 超时时间指针，以毫秒位单位 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>该接口用于获取当前的GVSP取流超时时间。 </dd></dl>

</div>
</div>
<a id="gacc3fea463e94f87d65654e1715e24659"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacc3fea463e94f87d65654e1715e24659">&#9670;&nbsp;</a></span>MV_GIGE_SetGvcpTimeout()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_GIGE_SetGvcpTimeout </td>
          <td>(</td>
          <td class="paramtype">IN void *&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN unsigned int&#160;</td>
          <td class="paramname"><em>nMillisec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置GVCP命令超时时间 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>[IN] 设备句柄 </td></tr>
    <tr><td class="paramname">nMillisec</td><td>[IN] 超时时间，默认500ms，范围：0-10000ms </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>连接设备之后调用该接口可以设置GVCP命令超时时间。 </dd></dl>

</div>
</div>
<a id="ga845e4f09d81a00e292b59d6ec0f591ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga845e4f09d81a00e292b59d6ec0f591ce">&#9670;&nbsp;</a></span>MV_GIGE_GetGvcpTimeout()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_GIGE_GetGvcpTimeout </td>
          <td>(</td>
          <td class="paramtype">IN void *&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN OUT unsigned int *&#160;</td>
          <td class="paramname"><em>pnMillisec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取GVCP命令超时时间 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>[IN] 设备句柄 </td></tr>
    <tr><td class="paramname">pnMillisec</td><td>[IN][OUT] 超时时间指针，以毫秒位单位 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>该接口用于获取当前的GVCP超时时间。 </dd></dl>

</div>
</div>
<a id="gac83f55a145fbb0c84587948cc22e04e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac83f55a145fbb0c84587948cc22e04e1">&#9670;&nbsp;</a></span>MV_GIGE_SetRetryGvcpTimes()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_GIGE_SetRetryGvcpTimes </td>
          <td>(</td>
          <td class="paramtype">IN void *&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN unsigned int&#160;</td>
          <td class="paramname"><em>nRetryGvcpTimes</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置重传GVCP命令次数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>[IN] 设备句柄 </td></tr>
    <tr><td class="paramname">nRetryGvcpTimes</td><td>[IN] 重传次数，范围：0-100 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>该接口用于在GVCP包传输异常时，增加重传的次数，在一定程度上可以避免设备掉线，范围为0-100。 </dd></dl>

</div>
</div>
<a id="ga5a09d661574c303086cbb9b383bca9d1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5a09d661574c303086cbb9b383bca9d1">&#9670;&nbsp;</a></span>MV_GIGE_GetRetryGvcpTimes()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_GIGE_GetRetryGvcpTimes </td>
          <td>(</td>
          <td class="paramtype">IN void *&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN OUT unsigned int *&#160;</td>
          <td class="paramname"><em>pnRetryGvcpTimes</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取重传GVCP命令次数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>[IN] 设备句柄 </td></tr>
    <tr><td class="paramname">pnRetryGvcpTimes</td><td>[IN][OUT] 重传次数指针 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>该接口用于获取当前的GVCP重传次数，默认3次。 </dd></dl>

</div>
</div>
<a id="ga873f0f4cc77d6af62f2827c25881e342"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga873f0f4cc77d6af62f2827c25881e342">&#9670;&nbsp;</a></span>MV_GIGE_SetResend()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_GIGE_SetResend </td>
          <td>(</td>
          <td class="paramtype">IN void *&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN unsigned int&#160;</td>
          <td class="paramname"><em>bEnable</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN unsigned int&#160;</td>
          <td class="paramname"><em>nMaxResendPercent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN unsigned int&#160;</td>
          <td class="paramname"><em>nResendTimeout</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置是否打开重发包支持，及重发包设置 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>[IN] 设备句柄 </td></tr>
    <tr><td class="paramname">bEnable</td><td>[IN] 是否支持重发包 </td></tr>
    <tr><td class="paramname">nMaxResendPercent</td><td>[IN] 最大重发比 </td></tr>
    <tr><td class="paramname">nResendTimeout</td><td>[IN] 重发超时时间 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>连接设备之后调用该接口可以设置重发包属性，仅GigEVision相机支持。 <br />
</dd></dl>

</div>
</div>
<a id="gafc670e406bced45f4949acb6dfcfac05"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafc670e406bced45f4949acb6dfcfac05">&#9670;&nbsp;</a></span>MV_GIGE_SetResendMaxRetryTimes()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_GIGE_SetResendMaxRetryTimes </td>
          <td>(</td>
          <td class="paramtype">IN void *&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN unsigned int&#160;</td>
          <td class="paramname"><em>nRetryTimes</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置重传命令最大尝试次数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>[IN] 设备句柄 </td></tr>
    <tr><td class="paramname">nRetryTimes</td><td>[IN] 重传命令最大尝试次数，默认值20 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>该接口必须在调用 <a class="el" href="group___gig_e_xE7_x9B_xB8_xE6_x9C_xBA.html#ga873f0f4cc77d6af62f2827c25881e342" title="设置是否打开重发包支持，及重发包设置">MV_GIGE_SetResend()</a> 开启重传包功能之后调用，否则失败且返回MV_E_CALLORDER。 </dd></dl>

</div>
</div>
<a id="gae6acca364fd796744aa3e6f1fa1f6610"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae6acca364fd796744aa3e6f1fa1f6610">&#9670;&nbsp;</a></span>MV_GIGE_GetResendMaxRetryTimes()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_GIGE_GetResendMaxRetryTimes </td>
          <td>(</td>
          <td class="paramtype">IN void *&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN OUT unsigned int *&#160;</td>
          <td class="paramname"><em>pnRetryTimes</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取重传命令最大尝试次数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>[IN] 设备句柄 </td></tr>
    <tr><td class="paramname">pnRetryTimes</td><td>[IN][OUT] 重传命令最大尝试次数 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>该接口必须在调用 <a class="el" href="group___gig_e_xE7_x9B_xB8_xE6_x9C_xBA.html#ga873f0f4cc77d6af62f2827c25881e342" title="设置是否打开重发包支持，及重发包设置">MV_GIGE_SetResend()</a> 开启重传包功能之后调用，否则失败且返回MV_E_CALLORDER。 </dd></dl>

</div>
</div>
<a id="ga63ecd65b9648f3723547584ad19096ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga63ecd65b9648f3723547584ad19096ea">&#9670;&nbsp;</a></span>MV_GIGE_SetResendTimeInterval()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_GIGE_SetResendTimeInterval </td>
          <td>(</td>
          <td class="paramtype">IN void *&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN unsigned int&#160;</td>
          <td class="paramname"><em>nMillisec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置同一重传包多次请求之间的时间间隔 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>[IN] 设备句柄 </td></tr>
    <tr><td class="paramname">nMillisec</td><td>[IN] 同一重传包多次请求之间的时间间隔，默认10ms </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>该接口必须在调用 <a class="el" href="group___gig_e_xE7_x9B_xB8_xE6_x9C_xBA.html#ga873f0f4cc77d6af62f2827c25881e342" title="设置是否打开重发包支持，及重发包设置">MV_GIGE_SetResend()</a> 开启重传包功能之后调用，否则失败且返回MV_E_CALLORDER。 </dd></dl>

</div>
</div>
<a id="ga9dfe942828c8ea835a5e84086dc69d7b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9dfe942828c8ea835a5e84086dc69d7b">&#9670;&nbsp;</a></span>MV_GIGE_GetResendTimeInterval()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_GIGE_GetResendTimeInterval </td>
          <td>(</td>
          <td class="paramtype">IN void *&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN OUT unsigned int *&#160;</td>
          <td class="paramname"><em>pnMillisec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取同一重传包多次请求之间的时间间隔 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>[IN] 设备句柄 </td></tr>
    <tr><td class="paramname">pnMillisec</td><td>[IN][OUT] 同一重传包多次请求之间的时间间隔 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>该接口必须在调用 <a class="el" href="group___gig_e_xE7_x9B_xB8_xE6_x9C_xBA.html#ga873f0f4cc77d6af62f2827c25881e342" title="设置是否打开重发包支持，及重发包设置">MV_GIGE_SetResend()</a> 开启重传包功能之后调用，否则失败且返回MV_E_CALLORDER。 </dd></dl>

</div>
</div>
<a id="ga4a46947998f4ecb94d04afb699f74fe0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4a46947998f4ecb94d04afb699f74fe0">&#9670;&nbsp;</a></span>MV_GIGE_SetTransmissionType()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_GIGE_SetTransmissionType </td>
          <td>(</td>
          <td class="paramtype">IN void *&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN <a class="el" href="struct_m_v___t_r_a_n_s_m_i_s_s_i_o_n___t_y_p_e.html">MV_TRANSMISSION_TYPE</a> *&#160;</td>
          <td class="paramname"><em>pstTransmissionType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置传输模式，可以为单播模式、组播模式等 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>[IN] 设备句柄 </td></tr>
    <tr><td class="paramname">pstTransmissionType</td><td>[IN] 传输模式结构体 <table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadCenter">宏定义  </th><th class="markdownTableHeadCenter">宏定义值  </th><th class="markdownTableHeadCenter">含义   </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyCenter"><a class="el" href="group___xE7_xB1_xBB_xE5_x9E_x8B_xE5_xAE_x9A_xE4_xB9_x89.html#ggacb4be70dd98b6ac0e673bf15df8d4f6ca0f149c21b93f6ad5d553e1677fcafcf2">MV_GIGE_TRANSTYPE_UNICAST</a>  </td><td class="markdownTableBodyCenter">0  </td><td class="markdownTableBodyCenter">单播   </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyCenter"><a class="el" href="group___xE7_xB1_xBB_xE5_x9E_x8B_xE5_xAE_x9A_xE4_xB9_x89.html#ggacb4be70dd98b6ac0e673bf15df8d4f6ca2bc056c4dc8cfa8ae61046188f5dfe76">MV_GIGE_TRANSTYPE_MULTICAST</a>  </td><td class="markdownTableBodyCenter">1  </td><td class="markdownTableBodyCenter">组播   </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyCenter"><a class="el" href="group___xE7_xB1_xBB_xE5_x9E_x8B_xE5_xAE_x9A_xE4_xB9_x89.html#ggacb4be70dd98b6ac0e673bf15df8d4f6ca597a60f84267c4c2d10ad80e630689f6">MV_GIGE_TRANSTYPE_LIMITEDBROADCAST</a>  </td><td class="markdownTableBodyCenter">2  </td><td class="markdownTableBodyCenter">表示局域网内广播   </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyCenter"><a class="el" href="group___xE7_xB1_xBB_xE5_x9E_x8B_xE5_xAE_x9A_xE4_xB9_x89.html#ggacb4be70dd98b6ac0e673bf15df8d4f6ca38d584a5beb89de92f31fff1fa05c53f">MV_GIGE_TRANSTYPE_SUBNETBROADCAST</a>  </td><td class="markdownTableBodyCenter">3  </td><td class="markdownTableBodyCenter">表示子网内广播   </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyCenter"><a class="el" href="group___xE7_xB1_xBB_xE5_x9E_x8B_xE5_xAE_x9A_xE4_xB9_x89.html#ggacb4be70dd98b6ac0e673bf15df8d4f6ca7f3c7b560a70c0ca2d6dd2dd533537b1">MV_GIGE_TRANSTYPE_CAMERADEFINED</a>  </td><td class="markdownTableBodyCenter">4  </td><td class="markdownTableBodyCenter">表示从相机获取   </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyCenter"><a class="el" href="group___xE7_xB1_xBB_xE5_x9E_x8B_xE5_xAE_x9A_xE4_xB9_x89.html#ggacb4be70dd98b6ac0e673bf15df8d4f6ca679b7bb9882dc97c6a1cda70243f669e">MV_GIGE_TRANSTYPE_UNICAST_DEFINED_PORT</a>  </td><td class="markdownTableBodyCenter">5  </td><td class="markdownTableBodyCenter">表示用户自定义应用端接收图像数据Port号   </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyCenter"><a class="el" href="group___xE7_xB1_xBB_xE5_x9E_x8B_xE5_xAE_x9A_xE4_xB9_x89.html#ggacb4be70dd98b6ac0e673bf15df8d4f6ca897cca8b19909fa81edbaabdcc73dcc0">MV_GIGE_TRANSTYPE_UNICAST_WITHOUT_RECV</a>  </td><td class="markdownTableBodyCenter">00010000  </td><td class="markdownTableBodyCenter">表示设置了单播，但本实例不接收图像数据   </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyCenter"><a class="el" href="group___xE7_xB1_xBB_xE5_x9E_x8B_xE5_xAE_x9A_xE4_xB9_x89.html#ggacb4be70dd98b6ac0e673bf15df8d4f6ca96a713280dab1d01d26cdd75b3840d87">MV_GIGE_TRANSTYPE_MULTICAST_WITHOUT_RECV</a>  </td><td class="markdownTableBodyCenter">00010001  </td><td class="markdownTableBodyCenter">表示组播模式，但本实例不接收图像数据   </td></tr>
</table>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>通过该接口可以设置传输模式为单播、组播等模式，仅GigEVision相机支持。 </dd></dl>
<dl class="section examples"><dt>示例</dt><dd><a class="el" href="_multi_cast_8cpp-example.html#a36">MultiCast.cpp</a>.</dd>
</dl>

</div>
</div>
<a id="ga6dd4eca90cd69d3d442d71563c5ef300"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6dd4eca90cd69d3d442d71563c5ef300">&#9670;&nbsp;</a></span>MV_GIGE_IssueActionCommand()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_GIGE_IssueActionCommand </td>
          <td>(</td>
          <td class="paramtype">IN <a class="el" href="struct_m_v___a_c_t_i_o_n___c_m_d___i_n_f_o.html">MV_ACTION_CMD_INFO</a> *&#160;</td>
          <td class="paramname"><em>pstActionCmdInfo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN OUT <a class="el" href="struct_m_v___a_c_t_i_o_n___c_m_d___r_e_s_u_l_t___l_i_s_t.html">MV_ACTION_CMD_RESULT_LIST</a> *&#160;</td>
          <td class="paramname"><em>pstActionCmdResults</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发出动作命令 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">pstActionCmdInfo</td><td>[IN] 动作命令信息 </td></tr>
    <tr><td class="paramname">pstActionCmdResults</td><td>[IN][OUT] 动作命令返回信息列表 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>仅GigEVision相机支持。 </dd></dl>

</div>
</div>
<a id="ga9509c97062ec3129f81f73dc1a8d80bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9509c97062ec3129f81f73dc1a8d80bb">&#9670;&nbsp;</a></span>MV_GIGE_GetMulticastStatus()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_GIGE_GetMulticastStatus </td>
          <td>(</td>
          <td class="paramtype">IN <a class="el" href="struct_m_v___c_c___d_e_v_i_c_e___i_n_f_o.html">MV_CC_DEVICE_INFO</a> *&#160;</td>
          <td class="paramname"><em>pstDevInfo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN OUT bool *&#160;</td>
          <td class="paramname"><em>pbStatus</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取组播状态 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">pstDevInfo</td><td>[IN] 设备信息结构体 </td></tr>
    <tr><td class="paramname">pbStatus</td><td>[IN][OUT] 组播状态（true：组播状态；false：非组播） </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>该接口用于判断设备当前是否处于组播状态，解决客户端枚举时需要打开设备判断组播的问题。 </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<div class="footer" style="text-align: right;">
	<hr/>
	<small></small>
</div>
<script>
	// 当前选中的菜单
	var currentMenuItem = document.querySelector('.tablist > li.current > a')
	if (currentMenuItem) { // 子菜单情况
	  window.parent.postMessage({
		navHref: currentMenuItem.href
	  }, '*')
	} else {
	  window.parent.postMessage({
		url: window.location.href
	  }, '*')
	}
  </script>
</body>
</html>